<script type="text/javascript" src="/static/js/jquery.parser.js"></script>
<form id="{{datagrid_id}}_form" action="" method="post">
<br>
    <table  width="98%"  style="font-size:15px;text-align:center;line-height:30px;">
        <thead>
                <tr>
                    <th>彩票号</th>
                    <th>投注方式</th>
                    <th>倍数</th>
                    <th>购买日期</th>
                    <th>有效日期</th>
                    <th>兑奖日期</th>
                    <th>状态</th>
                    <th>付款金额</th>
                    <th>奖金</th>
                </tr>
            </thead>
            <tbody>
            {% for ticket in tickets %}
            <tr>
                    <td>{{ticket.Number}}</td>
                    <td>{{ticket.way}}</td>
                    <td>{{ticket.multiple}}</td>
                    <td>{{ticket.buytime}}</td>
                    <td>{{ticket.validitytime}}</td>
                    <td>{{ticket.prizetime}}</td>
                    <td>{{ticket.status}}</td>
                    <td>{{ticket.buymoney}}</td>
                    <td>{{ticket.prizemoney}}</td>
            </tr>
            {% endfor %}
            </tbody> 
    </table>
</form>
